home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
dev
/
basic
/
PureBasic_Upd.lha
/
PureBasic_Update1.60
/
PureBasic
/
Examples
/
Sources
/
Timer.pb
< prev
next >
Encoding:
Amiga (detected)
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2000-09-10
|
435 b
|
34 lines
; ***********************************
;
; Timer example file for Pure Basic
;
; © 2000 - Fantaisie Software -
;
; ***********************************
If InitTimer()
StartTimer()
calib.l=StopTimer()
For b.l=0 To 5
StartTimer()
For c.l=0 To 999 ; } some delay here
Next c ; }
time.l=StopTimer()
PrintNumberN(time-calib)
Next b
EndIf
PrintN("End of Program.")
End